﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Text;
using SqlSugar;

namespace Model.Models
{
    /// <summary>
    /// 角色
    /// </summary>
    [SugarTable("sys_Role")]
    public  class Role : BaseDBModel
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        [StringLength(50)]
        [Description("角色名称")]
        public string RoleName { get; set; } = "";


        /// <summary>
        /// 排序
        /// </summary>
        [Description("排序")]
        public int Sort { get; set; } = 0;

    }
}
